/**
 * 个人信息
 */

const { router, libQuery } = require('../../../lib/route')

libQuery((req, res, next, method) => {
  console.log('method-', method)
  if (method === 'put') {
    // put - 修改 信息
  } else {
    // get - 返回数据
  }
  const count = '1'
  console.log('/customer/personalinfo data=', count)
  res.send(count)
}, '/customer/personalinfo', 'text')

module.exports = router